<!DOCTYPE html>
<html>

<head>
  <title></title>
  <script src="../../lib/svg-compile/lexical.js"></script>
</head>

<body>
  <script>
    var res = lexical("Paper 0");
    console.log(res); // [{type: "word", value: "Paper"}, {type: "number", value: '100'}]
  </script>
</body>

</html>